<template>
  <view class="change">
    <view class="cardItem">
      <view class="cardTtitle">
        <view class="cardName">
          大金柜兑换卡券
        </view>
        <view class="cardNum">
          ×10
        </view>

      </view>
      <view class="cardsub">
        <text>请选择兑换的数量</text>
        <view class="cardNum">
          <uni-number-box  v-model="count" :min="1"></uni-number-box>
        </view>
      </view>
      <u-gap height="2" bg-color="#E9E9E9"></u-gap>
      <view class="cardButton">
        <view class="btn" @click="handleLine">线上兑换</view>
        <view class="btn" @click="handleOff">线下核销</view>
      </view>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      count:1
    };
  },
  methods: {
    handleLine(){
      uni.navigateTo({
        url: '/pages/card/lineChange/lineChange'
      })
    },
    handleOff(){
      uni.navigateTo({ url: '/pages/card/whiteOff/whiteOff' })
    }
  },
  computed: {

  },
  watch: {

  },
  // 页面周期函数--监听页面加载
  onLoad() {
  },
  // 页面周期函数--监听页面初次渲染完成
  onReady() {},
  // 页面周期函数--监听页面显示
  onShow() {},
  // 页面周期函数--监听页面隐藏
  onHide() {},
  // 页面周期函数--监听页面卸载
  onUnload() {},
  // 页面处理函数--监听用户下拉动作
  onPullDownRefresh() {},
  // 页面上拉触底事件的处理函数
  onReachBottom() {},
  // 用户点击右上角分享
  onShareAppMessage() {},
  // 页面处理函数--监听页面滚动(not-nvue)
  onPageScroll(e) {}
  };
</script>

<style lang="scss" scoped>
@import "./index.scss";
</style>
